package edu.tjufe.llp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import edu.tjufe.llp.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


/**
 * 充电区域对象 charge_area
 *
 * @author leiliping
 * @date 2022-12-24
 */
@Getter
@Setter
public class ChargeArea implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 充电区域id
     */
    private Integer areaId;

    /**
     * 区域名称
     */
    @Excel(name = "区域名称")
//    @TableId("area_name")
    private String areaName;

    /**
     * 免费时长
     */
//    @TableId("free_time")
    @Excel(name = "免费时长")
    private Integer freeTime;

    /**
     * 计费单元
     */
    @Excel(name = "计费单元")
    private Integer timeUnit;

    /**
     * 单元费用
     */
    @Excel(name = "单元费用")
    private BigDecimal unitCost;

    /**
     * 最大收费
     */
    @Excel(name = "最大收费")
    private BigDecimal maxCost;

    private String remark;

    @TableField(exist = false)
    private List<Station> stations;

}